package com.sky.service;

import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void save(EmployeeDTO employeeDTO);

    /**
     * 分页查询
     * @return
     * @Param
      */
    PageResult pageQuery(EmployeePageQueryDTO employeePageQueryDTO);
    /**
     * 编辑用户状态
     * @return
     * @Param
      */
    void startOrStop(Integer status, long id);
    /**
     * c查询用户信息
     * @return
     * @Param
      */
    Employee getById(long id);

    void update(EmployeeDTO employeeDTO);
}
